<?php
require('./_connect.php');
// 书写sql语句
$sql="CREATE TABLE wq_list(
    wq_id INT(8) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
    wq_title VARCHAR(300) NOT NULL,
    wq_detail VARCHAR(30) NOT NULL,
    wq_idea VARCHAR(30) NOT NULL,
    submission_date TIMESTAMP
)";
$result=mysqli_query($conn,$sql);
if($result){
    echo "数据表创建成功";
}else{
    echo "数据表创建成功";
}

?>